/**
 * Created by fly on 2016/12/13.
 */

// var bootstrapcss = require('../../../public/static/css/bootstrap.css');
require('../css/login_register.css');
require('../../../public/static/css/style.css');
var $ = require('jquery');
var jquery = require('jquery');
var bootstrip = require('../../../public/static/js/bootstrap');
var Swiper = require('../../../public/static/js/swiper-3.4.1.min');
var user_center = require('./usercenter');
// require('../store/vue_login_register_store');
// require('../store/vue_fitment_store');
// var main = require('./main');
var Vue = require('vue');
var vue_resource = require('vue-resource');
Vue.use(vue_resource);
var vue_router = require('vue-router');
var loginVue = require('../component/loginRegister/login.vue');
var registerVue = require('../component/loginRegister/register.vue');
var mainHeader = require('../component/index/header.vue');
var mainContent = require('../component/index/content.vue');
var fitment_case = require('../component/fitment/fitment_case.vue');
var designer = require('../component/fitment/designer.vue');
var fitment_company = require('../component/fitment/fitment_company.vue');
var fitment_strategy = require('../component/fitment/fitment_strategy.vue');
var fitment_advisor = require('../component/fitment/fitment_advisor.vue');
var menu = require('../component/index/menu.vue');
var mall_slideimg = require('../component/fitment/mall_slideimg.vue');
var mall_goods = require('../component/fitment/mall_goods.vue');
var case_detail = require('../component/fitcasedetail/case_detail.vue');
var goods_detail = require('../component/goodsdetail/goodsdetail.vue');
var user_center_con = require('../component/user/user_center_con.vue');
var buy_now = require('../component/goodsdetail/buy_now.vue');
var fullCalendar = require('vue-fullcalendar');
var advisor_detail = require('../component/fitment/advisor_detail.vue');

Vue.component('full-calendar', fullCalendar)

new Vue({
    el: 'div',
    components: {
        'headers': mainHeader,
        'contents': mainContent,
        'login': loginVue,
        'register': registerVue,
        'fitment-case': fitment_case,
        'designer': designer,
        'fitment-company': fitment_company,
        'fitment-strategy': fitment_strategy,
        'fitment-advisor': fitment_advisor,
        'menus': menu,
        'mall_slideimg': mall_slideimg,
        'mall_goods': mall_goods,
        'case_detail': case_detail,
        'goods_detail':goods_detail,
        'user_center_con':user_center_con,
        'buy_now':buy_now,
        'advisor_detail':advisor_detail
    }
});

